<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <input id="randomInput" type="number" placeholder="随机值，初始请点击下侧随机按钮" />
    <span>生成8位的随机数</span>
    <button id="randomBtn">随机</button>
  </div>
</body>
</html>